﻿using System;
using OA.DBUtility;

namespace OA.Model
{
    [Serializable]
    [MappingTable("QualificationCertificateView")]
    public partial class QualificationCertificateViewInfo:QualificationCertificateInfo
    {
        
    }
    /// <summary>
    /// QualificationCertificate:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("QualificationCertificate")]
    public partial class QualificationCertificateInfo
    {
        public QualificationCertificateInfo()
        {
        }

        #region Model

        private int _id;
        private int? _employeeid;
        private string _qualificationname;
        private string _accesstime;
        private string _certificateauthority;
        private int? _validityperiod;

        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("EmployeeID")]
        public int? EmployeeID
        {
            set { _employeeid = value; }
            get { return _employeeid; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("QualificationName")]
        public string QualificationName
        {
            set { _qualificationname = value; }
            get { return _qualificationname; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("AccessTime")]
        public string AccessTime
        {
            set { _accesstime = value; }
            get { return _accesstime; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("CertificateAuthority")]
        public string CertificateAuthority
        {
            set { _certificateauthority = value; }
            get { return _certificateauthority; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("ValidityPeriod")]
        public int? ValidityPeriod
        {
            set { _validityperiod = value; }
            get { return _validityperiod; }
        }
        #endregion Model
    }
}

